package cn.com.byte1024.service;

import cn.com.byte1024.entity.VoteProject;

import java.util.List;

public interface VoteProjectService {
    int updateByPrimaryKeySelective(VoteProject voteProject);
    
    VoteProject selectByPrimaryKey(String voteProjectId);
    
    int insertSelective(VoteProject voteProject);
    
    List<VoteProject>  selectAllVoteProject(String userId);

    VoteProject selectByProjectCode(String projectCode);

    Boolean addVoteProjectByProjectCode(String projectCode,String userId);

    Boolean deleteByVoteProject(String voteProjectId,String userId);
}
